{include file="public/header"/}

<!--<html>-->

<!--<body>-->

<div id="app">
    <link href="__PUBLIC__/css/app.d39ca915.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/chunk-2b6f8cf4.4a42c13e.css">
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <!--<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>-->
    <style>
        .i-layout-inside-fix-with-sider {
            padding: 0 !important;
        }

        .i-layout-content-fix-with-header {
            padding-top: 0 !important;
        }

        .i-layout-content-main {
            margin: 0 !important;
        }

        #selectList {
            -webkit-appearance: none;
            background-color: #FFF;
            border-radius: 4px;
            border: 1px solid #DCDFE6;
            box-sizing: border-box;
            color: #606266;
            display: inline-block;
            font-size: inherit;
            height: 40px;
            line-height: 40px;
            outline: 0;
            padding: 0 15px;
            transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
            width: 100%;
            color: #C0C4CC !important;
        }

        /*#layui-layer-shade1, #layui-layer1{*/
        /*    display: none !important;*/
        /*}*/
    </style>
    <div class="i-layout ivu-layout ivu-layout-has-sider">
        <div class="i-layout-inside ivu-layout i-layout-inside-fix-with-sider">
            <div
                class="i-layout-content ivu-layout-content i-layout-content-fix-with-header i-layout-content-with-tabs i-layout-content-with-tabs-fix">
                <div class="i-layout-content-main">
                    <div data-v-1da66684="">
                        <div data-v-1da66684="" class="i-layout-page-header">
                            <div data-v-1da66684="" class="ivu-page-header">
                                <div class="ivu-page-header-detail">
                                    <div class="ivu-page-header-main">
                                        <div class="ivu-page-header-row">
                                            <div class="ivu-page-header-title">生成会员入职单</div>
                                        </div>
                                        <div class="ivu-page-header-row"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div data-v-1da66684="" class="ivu-mt ivu-card ivu-card-dis-hover">
                            <div class="ivu-card-body">
                                <form data-v-1da66684="" autocomplete="off" class="ivu-form ivu-form-label-right"
                                    style="width: 50%;">
                                    <div data-v-1da66684="" class="ivu-form-item"><label class="ivu-form-item-label"
                                            style="width: 100px;">会员账号</label>
                                        <div class="ivu-form-item-content" style="margin-left: 100px;">
                                            <div data-v-1da66684=""
                                                class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type-text">
                                                <div class="el-input">
                                                    <!----><input type="text" autocomplete="off" placeholder="请输入内容"
                                                        class="el-input__inner" id="zhanghao">
              
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div data-v-1da66684="" class="ivu-form-item" style="display: flex;
    align-items: center;"><label class="ivu-form-item-label"
                                            style="width: 100px;">银行信息</label>
                                        <div class="ivu-form-item-content">
                                            <div data-v-1da66684=""
                                                class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type-text">
                                                <div class="el-input">
                                                    <input type="text" autocomplete="off" placeholder="银行信息"
                                                        class="el-input__inner" id="xinxis" disabled="">
                                                </div>
                                            </div>
                                        </div>
                                        <div onclick="getxinxi()" style="color: #fff;
    margin-left: 10px;
    padding: 6px 20px;
    background: #2388f0;
    border-radius: 4px;">
                                            获取
                                        </div>
                                    </div>
                                    <div data-v-1da66684="" class="ivu-form-item"><label class="ivu-form-item-label"
                                            style="width: 100px;">选择时间</label>
                                        <div class="ivu-form-item-content" style="margin-left: 100px;">
                                            <div data-v-1da66684=""
                                                class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type-text">
                                                <div
                                                    class="el-date-editor el-input el-input--prefix el-input--suffix el-date-editor--date">
                                                    <!----><input type="text" autocomplete="off" name=""
                                                        placeholder="<?php echo date('Y-m-d');?>" id="riqis" class="el-input__inner"><span
                                                        class="el-input__prefix"><i
                                                            class="el-input__icon el-icon-date"></i>
                                                        <!---->
                                                    </span><span class="el-input__suffix"><span
                                                            class="el-input__suffix-inner"><i
                                                                class="el-input__icon"></i>
                                                            <!---->
                                                            <!---->
                                                            <!---->
                                                            <!---->
                                                        </span>
                                                        <!---->
                                                    </span>
                                                    <!---->
                                                    <!---->
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </form> <button data-v-1da66684="" type="button"
                                    class="ivu-btn ivu-btn-default" onclick="getsc()"><span>生成</span></button>
                            </div>
                        </div>
                        <div data-v-1da66684="" class="ivu-mt ivu-card ivu-card-dis-hover">
                            <div class="ivu-card-body">
                                <div data-v-1da66684="" class="cc-container">
                                    <div data-v-1da66684="" class="top-title">
                                        <p data-v-1da66684="" class="siteName">·Indeed</p>
                                        <p data-v-1da66684="" class="tip"><i data-v-1da66684="">Dreams set sail from
                                                here</i></p>
                                    </div>
                                    <div data-v-1da66684="" class="title">
                                        Employment Application Form
                                    </div>
                                    <div data-v-1da66684="" class="userNo">
                                        <div data-v-1da66684="" class="search">
                                            <p data-v-1da66684="">NO.</p>
                                            <div data-v-1da66684="" class="img"><img data-v-1da66684=""
                                                    src="__PUBLIC__/img/search.9880b4f4.jpeg"
                                                    style="width: 200px;">
                                                <p data-v-1da66684="" class="nor">QK-</p>
                                            </div>
                                        </div>
                                        <div data-v-1da66684="" class="date"><span data-v-1da66684="">Application
                                                Date: <i data-v-1da66684="" style="color: red;" class="riqi"><?php echo date('Y-m-d');?></i></span>
                                        </div>
                                    </div>
                                    <table data-v-1da66684="" cellspacing="0" style="color: rgb(0, 0, 0); width: 100%;">
                                        <tbody>
                                            <tr data-v-1da66684="">
                                                <td data-v-1da66684="" colspan="6" class="td-title">General
                                                    Information
                                                </td>
                                            </tr>
                                            <tr data-v-1da66684="">
                                                <td data-v-1da66684="">Full Name:</td>
                                                <td data-v-1da66684="" class="value mingzi"></td>
                                                <td data-v-1da66684="">Username:</td>
                                                <td data-v-1da66684="" class="value yonghuming"></td>
                                                <td data-v-1da66684="">Phone:</td>
                                                <td data-v-1da66684="" class="value dianhua"></td>
                                            </tr>
                                            <tr data-v-1da66684="">
                                                <td data-v-1da66684="">Bank Name:</td>
                                                <td data-v-1da66684="" class="value yinhangname" colspan="2"></td>
                                                <td data-v-1da66684="">Account:</td>
                                                <td data-v-1da66684="" class="value yinhangkahao" colspan="2"></td>
                                                <!--<td data-v-1da66684="" rowspan="2">CPF:</td>-->
                                                <!--<td data-v-1da66684="" rowspan="2" class="value"></td>-->
                                            </tr>
                                            <tr data-v-1da66684="">
                                                <td data-v-1da66684="">E-mail:</td>
                                                <td data-v-1da66684="" class="value youxiang" colspan="5"></td>
                                                <!--<td data-v-1da66684="">PIX:</td>-->
                                                <!--<td data-v-1da66684="" class="value" colspan="2"></td>-->
                                            </tr>
                                            <!--<tr data-v-1da66684="">-->
                                            <!--    <td data-v-1da66684="">Address: </td>-->
                                            <!--    <td data-v-1da66684="" colspan="5" class="value dizhi"></td>-->
                                            <!--</tr>-->
                                            <tr data-v-1da66684="">
                                                <td data-v-1da66684="" colspan="6" class="td-title">Job Information
                                                </td>
                                            </tr>
                                            <tr data-v-1da66684="">
                                                <td data-v-1da66684="">Department:</td>
                                                <td data-v-1da66684="" class="value">Online</td>
                                                <td data-v-1da66684="">Position:</td>
                                                <td data-v-1da66684="" class="value">Clerk</td>
                                                <td data-v-1da66684="">Daily wage:</td>
                                                <td data-v-1da66684="" class="value">R$ 500</td>
                                            </tr>
                                            <tr data-v-1da66684="">
                                                <td data-v-1da66684="" colspan="3">Settlement method :</td>
                                                <td data-v-1da66684="" colspan="3" class="value">Daily 21:15
                                                    settlement
                                                </td>
                                            </tr>
                                            <tr data-v-1da66684="">
                                                <td data-v-1da66684="" colspan="6" class="td-title">Other Notes</td>
                                            </tr>
                                            <tr data-v-1da66684="">
                                                <td data-v-1da66684="" colspan="6"
                                                    style="text-align: left; padding-left: 10px; display: none;">
                                                    1. After you complete the test task, we will submit an
                                                    "employment
                                                    application" for you;<br data-v-1da66684="">
                                                    2. After four entry tasks, the Ministry of Personnel goalkeeper
                                                    through your application;<br data-v-1da66684="">
                                                    3. After becoming a regular employee, you can enjoy a daily
                                                    salary
                                                    of Rs 5,000;<br data-v-1da66684="">
                                                    4. Full-time employees do not need to participate grab every
                                                    day,
                                                    but still with a salary.
                                                </td>
                                                <td data-v-1da66684="" colspan="6"
                                                    style="text-align: left; padding-left: 10px;">
                                                    1. Depois de concluir a tarefa de teste, enviaremos uma
                                                    "inscrição
                                                    de emprego" para você;<br data-v-1da66684="">
                                                    2. Após quatro tarefas de entrada, o goleiro do Ministério de
                                                    Pessoal através de seu aplicativo;<br data-v-1da66684="">
                                                    3. Depois de se tornar um funcionário regular, você pode
                                                    desfrutar
                                                    de um salário diário de S/. 500;<br data-v-1da66684="">
                                                    4. Funcionários em tempo integral não precisam participar do
                                                    agarre
                                                    todos os dias, mas ainda com um salário.
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    var ids = ''
    function getxinxi() {
        var zhanghao = $('#zhanghao').val()
        if(zhanghao == ''){
            layer.msg('请先填写会员账号', function(){});
        }
        $.ajax({
            type: 'GET',
            url: "/index/login/huoqu",
            data: {
                'keyword': zhanghao,
            },
            success: function (e) {
                var e = JSON.parse(e)
                if(!e.data){
                    layer.msg('暂无此会员信息', function(){});
                }else{
                    $('#xinxis').val(e.data.bank_name)
                    ids = e.data.id
                }
            }
        });
    }
    function getsc(){
        var zhanghao = $('#zhanghao').val()
        var xinxi = $('#xinxis').val()
        var riqis =$('#riqis').val()
        if(zhanghao == ''){
            layer.msg('请先填写会员账号', function(){});
        }
        if(xinxi == ''){
            layer.msg('请先填写正确的会员账号', function(){});
        }
        if(riqis == ''){
            layer.msg('请先填写日期', function(){});
        }
         $.ajax({
            type: 'GET',
            url: "/index/login/info",
            data: {
                'id': ids,
            },
            success: function (e) {
                var e = JSON.parse(e)
                if(!e.data){
                    layer.msg('暂无此会员信息', function(){});
                }else{
                    $('.mingzi').text(e.data.username)
                    $('.yonghuming').text(e.data.holder_name)
                    // $('.dianhua').text(e.data.address_phone)
                    $('.dianhua').text(e.data.phone_number)
                    $('.nor').text('Qk-' + new Date().getTime())
                    $('.yinhangname').text(e.data.bank_name)
                    $('.yinhangkahao').text(e.data.account_number)
                    $('.youxiang').text(e.data.email)
                    $('.dizhi').text(e.data.address_info)
                    $('.riqi').text(riqis)
                }
            }
        });
    }
</script>
<!--</body>-->
<!--</html>-->
